<template>
    <bi-form ref="form">
        <bi-form-item label="图片数量" >
            <bi-radio v-model="value.multiple" :option="multipleOption" />
        </bi-form-item>
    </bi-form>
</template>


<script>
import modelFieldMixin from '@@/web/assets/js/modelFieldMixin.js';

export default {
    mixins:[modelFieldMixin],
    data()
    {

        let value = {multiple:false};

        let multipleOption = [
            {
                label:'单张',
                value:false
            },
            {
                label:'多张',
                value:true
            }
        ]

        this.$assign(value,this.modelValue);

        return {
            multipleOption,
            value
        }
    }
}
</script>